package com.cn.lp.jpa.cq;

import javax.persistence.criteria.CriteriaBuilder;
import javax.persistence.criteria.CriteriaQuery;
import javax.persistence.criteria.Predicate;
import javax.persistence.criteria.Root;

public interface CQConditionPredicate<TFrom> {

    Predicate toPredicate(Root<TFrom> root, CriteriaQuery<?> query, CriteriaBuilder cb);

}
